/**
Theme Name: Life Sci Communications Child Theme
Author: Life Sci Communications
Author URI: https://lifescicommunications.com/
Description: LSC Custom Child - No Comments - updated astra breakpoints - CPT for Teams
Version in STYLE.CSS 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: life-sci-communications-child-theme
Template: astra
*/
/* --- GLOBAL  --- */
.no-bot-margin, .no-bot-margin p:last-child {
  margin-bottom: 0 !important;
}

/* overflow control - stops items from going off the side of the screen */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* fix astra menu issue */
.ast-header-break-point #ast-desktop-header {
  display: none;
}

/* disable image from being clickable */
.disable-img {
  pointer-events: none;
}

/* --- END GLOBAL -- */
/* --- hide mobile menu on desktop --- */
/* -- NOTE:: If you change when the mobile menu shows this will need to be changed --*/
@media (min-width: 1025px) {
  body #ast-mobile-popup-wrapper {
    display: none;
    visibility: hidden;
  }
}
/* -- START Team section for SEARCH AND FILTER TEAM SECTION -- */
.team-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
   -ms-flex-pack: center;
  justify-content: center;
  margin-top:4%;
  gap:20px 12px;
}

.team-member {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    max-width: 350px;
    width: 24%;
    cursor: pointer;
    margin-bottom: 4em;
    position: relative;
    padding: 0;
	text-align:center;
}

@media (max-width: 1024px) {
  .team-member {
    width: 48%;
  }
}
@media (max-width: 767px) {
  .team-container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .team-member {
    width: 98%;
  }
}
.team-member:hover .team-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.team-member .team-image {
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  margin-bottom: 20px;
}
.team-member .team-image img {
  border-radius:90%;
  max-width: 250px;
  width:100%;
}
.team-member .team-name a {
    color: #163F9F;
    text-decoration: none !important;
    font-weight: 800;
}
.team-member .team-title, .team-member .team-company {
  color: #535353;
  text-decoration: none !important;
  line-height:1.5em;
}

/* start make whole team member clickable */
/* updated to make clickable area larger than contain so border can be farther from content */
a.member-link:after {
  content: "";
  display: block !important;
  position: absolute;
  top: -5px;
  bottom: 0;
  left: -5px;
  right: 0;
  z-index: 1;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
}

/* end make whole team member clickable */
/* TEAM member Focus state */
/* added border to focus state - this allows focus to show over dark and light backgrounds if needed */
.team-member a:focus:after {
  outline: 2px dotted #F63F00;
  border: 2px dotted #F63F00;
  border-radius: 5px;
  outline-offset: 1px;
}

.team-member a:focus {
  outline: none;
}

/* -- End Team section -- */
/* start make whole area clickable */
.lsc-sf-item {
  position: relative;
}

a.lsc-sf-link:after {
  content: "";
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* end make whole area member clickable */
/* -- s&F form styles -- */
form.searchandfilter ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
}
form.searchandfilter input.sf-input-text::placeholder{
  color: #39486e;
}
form.searchandfilter input.sf-input-text, form.searchandfilter select.sf-input-select {
  color: #2d106a;
  background-color: #fff;
  border-color:#535353;
  border-radius: 0;
  min-width: 280px;
  line-height: 1rem;
  padding: 0.4rem 0.75rem;
  height: auto;
}
.searchandfilter ul li {
  list-style: none;
  display: block;
  padding: 10px 0;
  margin: 0 1rem 0 0;
}
form.searchandfilter label span.screen-reader-text {
    position: relative !important;
    display: block;
    color: #163F9F;
    width: auto;
    height: auto;
    clip: unset;
    -webkit-clip-path: unset;
    clip-path: unset;
    top: unset;
    margin: 0;
    padding: 0 0 0.25em 0.25em;
    font-size: 1rem !important;
    font-weight:800;
}
/* -- end s&F form styles -- */
/* -- pagenavi styles --*/
.wp-pagenavi {
  margin-bottom: 1rem;
}

.wp-pagenavi span.pages {
  margin-right: 1rem;
}

.wp-pagenavi a.page, .wp-pagenavi a.nextpostslink, .wp-pagenavi a.last, .wp-pagenavi .current {
  margin: 0 0.5rem;
}
.wp-pagenavi a.page:focus, .wp-pagenavi a.nextpostslink:focus, .wp-pagenavi a.previouspostslink:focus, .wp-pagenavi .last:focus{
	border-radius:0;	
}
/* -- END pagenavi styles --*/
/* -- Search and Filter Select Arrow Update -- */
li[data-sf-field-input-type=select] label {
  position: relative;
}

/* To edit the color of the arrow go into the SVG and change the fill */
li[data-sf-field-input-type=select] label:after {
  content: "";
  background: url("/wp-content/themes/lsc-wp-theme/img/down-arrow-form.svg") center center no-repeat;
  background-size: contain;
  color: #F63F00;
  right: 10px;
  /*Adjust for position however you want*/
  top: unset;
  bottom: 12px;
  margin: auto 0;
  padding: 0;
  position: absolute;
  pointer-events: none;
  display: block;
  width: 15px;
  height: 15px;
}

li[data-sf-field-input-type=select] label select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* -- END SF Items News/Media ETC sections -- */
/* -- START FOCUS STYLES -- */
/* s&f item focus */
.lsc-sf-item a.lsc-sf-link:focus {
  outline: none;
}
.lsc-sf-item .lsc-sf-title a:focus {
  color: #535353;
  text-decoration: underline;
}
.lsc-sf-item a.lsc-sf-link:focus:after {
  outline: 2px dotted #F63F00;
  outline-offset:2px;
  border-radius: 0;
}

/* global focus */
a:focus, .ast-menu-toggle:focus {
  outline: 2px dotted #21374B;
  border-radius: 15px;
  -webkit-transition: all 0s;
  transition: all 0s;
}
/*
a:active {
  outline: none;
}
*/

a.elementor-icon:focus {
  outline-offset: 10px;
}

a.custom-logo-link:focus {
  outline-offset: 5px;
}

footer a:focus {
  outline: 2px dotted #21374B;
  border-radius: 15px;
  outline-offset: 2px;
}

footer .site-footer-primary-section-1 a:focus {
  outline-offset: 10px;
}

footer .site-footer-primary-section-1 a.ast-builder-social-element:focus {
  border-radius: 0;
  outline-offset: 4px;
}

.team-member a:focus:after {
  outline: 2px dotted #fff;
  border-radius: 5px;
  outline-offset: 2px;
}

.team-member a:focus {
  outline: none;
}

/* -- END FOCUS STYLES -- */
/* TEAM member Focus styles in Team member section above */
.ir-overview-corporate-video {
  margin: 0 auto;
}

.ir-overview-corporate-video iframe {
  max-width: 500px !important;
}